From: Colin Walters Date: Wed, 27 Aug 2025 14:38:11 +0000 (-0400) Subject: ostree-finalize-staged.service: RequiresMountsFor=/etc X-Git-Tag: archive/raspbian/2025.7-2+rpi1^2^2~6^2~1^2~5^2 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https://%22%22/%22http:/www.example.com/cgi/%22https:/%22%22?a=commitdiff_plain;h=9617e5f4c477ebe75d3441bb5a195b4769cca326;p=ostree.git ostree-finalize-staged.service: RequiresMountsFor=/etc I've seen in some cases systemd try to unmount /etc quite early and then fail because it's in use. It's confusing because I don't see this in all scenarios. But regardless, in the situations where it does occur, this fixes it. Signed-off-by: Colin Walters --- diff --git a/src/boot/ostree-finalize-staged.service b/src/boot/ostree-finalize-staged.service index 63621ce1..897b1da1 100644 --- a/src/boot/ostree-finalize-staged.service +++ b/src/boot/ostree-finalize-staged.service @@ -21,7 +21,7 @@ Documentation=man:ostree(1) ConditionPathExists=/run/ostree-booted DefaultDependencies=no -RequiresMountsFor=/sysroot /boot +RequiresMountsFor=/sysroot /boot /etc After=local-fs.target Before=basic.target final.target # We want to make sure the transaction logs are persisted to disk: